package com.bysj.yqsht.service;

import com.bysj.yqsht.bean.Student;
import com.bysj.yqsht.bean.Teacher;
import com.bysj.yqsht.bean.extend.StudentExtend;
import com.bysj.yqsht.utils.CustomerException;

import java.util.List;

public interface IStudentService {

    List<Student> findAll();

    void saveOrUpdate(Student student);

//    void update(Student student);

    void deleteById(Long id) ;

    List<StudentExtend> findAllWithClass(int pageNum,int limit);

    List<StudentExtend> findWithAllByName(String name, String number,Long classId);

    int selectDataCount(Student student);






}

